.class public Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;
.super Ljava/lang/Object;
.source "MI5SpeedAdapter.java"


# instance fields
.field private a:Les/n7;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    invoke-static {}, Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 3
    new-instance v0, Les/n7;

    invoke-direct {v0}, Les/n7;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;->a:Les/n7;

    :cond_0
    return-void
.end method

.method private static b()Z
    .locals 2

    .line 1
    sget-object v0, Landroid/os/Build;->MODEL:Ljava/lang/String;

    .line 2
    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v0

    const-string v1, "mi"

    .line 3
    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string v1, "5"

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method


# virtual methods
.method public a()V
    .locals 1

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;->a:Les/n7;

    if-eqz v0, :cond_0

    .line 10
    invoke-virtual {v0}, Les/m7;->h()V

    :cond_0
    return-void
.end method

.method public a(Ljava/lang/String;Les/cd;Lcom/esfile/screen/recorder/videos/edit/player/c;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;->a:Les/n7;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Les/m7;->h()V

    if-eqz p2, :cond_0

    .line 3
    iget-object p2, p2, Les/cd;->k:Les/cd$o;

    if-eqz p2, :cond_0

    iget-object p2, p2, Les/cd$o;->a:Ljava/util/List;

    if-eqz p2, :cond_0

    .line 4
    invoke-interface {p2}, Ljava/util/List;->isEmpty()Z

    move-result p2

    if-nez p2, :cond_0

    if-eqz p3, :cond_0

    const/16 p2, 0x8

    .line 5
    invoke-virtual {p3, p2}, Lcom/esfile/screen/recorder/videos/edit/player/c;->b(I)Z

    move-result p2

    if-eqz p2, :cond_0

    const-string p2, "mi5a"

    const-string p3, "start MI5 speed adaption"

    .line 6
    invoke-static {p2, p3}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 7
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;->a:Les/n7;

    invoke-virtual {p2, p1}, Les/m7;->b(Ljava/lang/String;)Z

    .line 8
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/speed/b;->a:Les/n7;

    invoke-virtual {p1}, Les/m7;->g()Z

    :cond_0
    return-void
.end method
